package com.dao;

import com.entity.Address;
import com.entity.Role;
import com.entity.Storage;
import com.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierDao {
    public List<Supplier> finSupplier();

    public int inseSupplierDao(Supplier supplier);

    public Supplier supplierId(int id);

    public int updSupplierDao(Supplier supplier);

    public int insertSupplier(Supplier supplier);

    public List<Supplier> listSupplier(@Param("supCode") String supCode,@Param("supName") String supName);

}
